package com.qyhl.party.party.study;

import com.qyhl.webtv.commonlib.entity.act.Catalog;
import com.qyhl.webtv.commonlib.entity.news.NewsBean;
import com.qyhl.webtv.commonlib.entity.news.PartyBuildConfigBean;

import java.util.List;

public interface PartyStudyContract {
    interface PartyStudyView {
        void setConfig(List<PartyBuildConfigBean> beanList);

        void setInfo(Catalog bean,int position);

        void setList(List<NewsBean> beanList,int position);

        void setError(String msg);
    }

    interface PartyStudyPresenter {
        void getConfig();

        void getConfigInfo(String catalogId,int position);

        void getList(String InnerCode,int position);

        void setConfig(List<PartyBuildConfigBean> beanList);

        void setInfo(Catalog bean,int position);

        void setList(List<NewsBean> beanList,int position);

        void setError(String msg);
    }

    interface PartyStudyModel {
        void getConfig();

        void getConfigInfo(String catalogId,int position);

        void getList(String InnerCode,int position);
    }
}
